package com.zhyl.detectibrary.util;

import java.util.List;

public interface DetectorListener {
    void onDetectorError(String error);

    void onDetectorResults(
            List<DetectItem> results,
            Long inferenceTime,
            Integer imageHeight,
            Integer imageWidth
    );
}